<?php
// FileFind - ftp/shares indexing and search php engine,
// http://project.ffind.ru
//
// Module: lang.en.php
// Description: English language files
// Copyright (c) 2003-2008 Rage Steel, www.gt2.ru
// ----------------------------------------------
// $Id$

define('L_ENCODING', 'windows-1251');
define('L_LANG', 'en');

// Misc
define('L_SIZE_SUFFIX', 'b|Kb|Mb|Gb|Tb|Pb|Eb|Zb|Yb');
define('L_FMT_DATE', 'd.m.Y'); // todo
define('L_FMT_TIME', 'H:i'); // todo
define('L_ICQ_STATUS', 'ICQ Status');
define('L_TOTAL', 'Total');
define('L_DEFAULT', 'Default');
define('L_BEGIN', 'Begin');
define('L_SIZE', 'size');
define('L_DATE', 'date');
define('L_NAME', 'name');
define('L_FILES', 'files');
define('L_DIRS', 'directories');
define('L_FLAGS', 'flags');
define('L_ABSENT', 'absent');
define('L_UNKNOWN', 'unknown');
define('L_TYPE', 'type');
define('L_STATUS', 'status');
define('L_ERROR', 'Error');
define('L_WARNING', 'Warning');

define('L_ERROR_PAGE_REQUEST', 'Error page request!');

// Page template
define('L_RETURN_MAIN', 'Return to main page');
define('L_PAGE_GEN_TIME', 'page generation time %0.4f sec.');
define('L_PAGE_QUERIES_TIME', ' (including %0.4f sec on %s)');

define('L_CHANGE_LOG', 'Change Log');

// Main form
define('L_OPTIONS', 'Options');
define('L_RES_LIST', 'List of file resources');
define('L_ADD_FTP', 'Add resource');
define('L_TITLE_MAIN', 'Search in file resources');
define('L_PROCESSED_QUERIES_COUNT', 'Count of search queries processed');
define('L_PROCESSED_QUERIES_START', ' starting from %s');
define('L_SEARCH_HOWTO', 'How to search?');
define('L_SEARCH_1', 'type search terms into the search box;');
define('L_SEARCH_2', 'search term may be just a part of filename, a DOS/Windows-style wildcard (if it contaions symblols <b>?</b> and/or <b>*</b>), a regular expression (if it surrounded by <b>/</b>);');
define('L_SEARCH_3', 'a leading plus sign indicates that this term must be present in a filename, a leading minus sign indicates that this term must not be present in a filename;');
define('L_SEARCH_4', 'if your terms contaions space or other special symblol, put quotation marks around (&quot;)');
define('L_SEARCH_5', 'you can filter search results by size using signs <b>&gt;</b>, <b>&lt;</b>, <b>=</b> a and specifing size after it (for example <b>*.avi > 500m</b>);');
define('L_SEARCH_6', 'you can also filter search within active hosts (for example: <b>firefox @online</b>) or hosts by mask (for example: <b>pokl @10.0.5.*</b>). To avoid search on specific hosts, put a minus sign <b>-</b> in front of it name;');
define('L_SEARCH_DOCS', 'details...');

// Search box
define('L_SEARCH', 'Search');
define('L_GO_SEARCH', 'Go');
define('L_QUERY_STRING', 'Search query');
define('L_ONLY_IN', 'Only in ');

// Options
define('L_GLOBAL', 'Global');
define('L_LANGUAGE', 'Language');
define('L_RESULTS_COUNT', 'Number items on result page');
define('L_SEARCH_DEFAULT', 'Default search mode');
define('L_DEFAULT_SORT', 'Default sort mode');
define('L_DOWNLOAD_BASK', 'Download basket');
define('L_OPTIONS_NB', 'NB: for saving options you must enable cookies support in your browser.');

define('L_HOST', 'host');
define('L_IP', 'ip');
define('L_OWNER', 'owner');
define('L_FILES_COUNT', 'count of files');
define('L_DIRS_COUNT', 'count of directories');
define('L_LAST_CRAWL', 'last crawl');
define('L_REVERSE', 'in reverse order');

define('L_ONLINE_ONLY_1', 'online only');
define('L_ONLINE_ONLY_0', 'all hosts');

define('L_ENABLED_BASK', 'Enable download basket');
define('L_BASK_NEW_ID', 'Generate new basket ID');
define('L_BASK_EXIST_ID', 'Use existsing basket ID');
define('L_BASK_ID', 'Basket ID');

define('L_SAVE_OPTIONS', 'Save Options');

// Accept
define('L_TITLE_ACCEPT_INACTIVE', 'Indexing of your server will be resumed!');
define('L_TITLE_ACCEPT_NEW', 'Your server has been successfully added to the list!');
define('L_ACCEPT_FULL_LISTING_AFTER', 'Full listing will apper only after an crawling cycle.');

// Browse
define('L_ERROR_NO_HOST', 'Host with this name does not exists!');
define('L_ERROR_DIR_NOT_EXISTS', 'Directory does not exists! ');
define('L_ERROR_READING_DIR', 'Error reading directory');
define('L_TITLE_BROWSE', '%s &mdash; browsing directory');

// Hosts
define('L_GENERAL_INFO', 'General information');
define('L_DATE_ADDED', 'date of addition');
define('L_HOST_ID', 'host id');
define('L_HOST_CONNECTIONS', 'Connections to host');
define('L_CONNECTION_STATUS', 'connections status');
define('L_LAST_TRY', 'last try');
define('L_LAST_RESULT', 'result');
define('L_LASC_SUCCESS', 'last success');
define('L_LOCK_PID', 'lock pid');
define('L_LOCK_TIME', 'lock time');
define('L_HOST_WEEK_GRAPH', 'Weekly status graph');

define('L_TITLE_HOST', 'Host %s');
define('L_QUERY_STATUS', 'Quering status');
define('L_GETTING_LISTING', 'Getting listing');
define('L_SYNC_LISTING', 'Syncronizing listing.');
define('L_IDLE', 'Idle');
define('L_BY_ADMIN', 'by administrator');
define('L_AFTER_NO_CONN', 'after long period of no connections');
define('L_ABSENT_LSLR', 'because of absent <code>ls -lR</code>');
define('L_CANNOT_PARSE', 'cannot parse listing');

define('L_TITLE_LIST', 'List of hosts');
define('L_HOST_LIST_EMPTY', 'List of hosts is empty!');
define('L_HOST_LIST_EMPTY2', 'It is useless to search for something now!');

// Contact information 
define('L_TITLE_CONTACT', 'Contact information');

// Information
define('L_TITLE_INFO', 'Documentations');

// Search
define('L_TITLE_SEARCH', 'Search results');
define('L_UNDEFINED_QUERY', 'Undefined query');
define('L_DATABASE_HAS_BEEN_UPDATED', 'There was a database update during the search. Some information may be incomlete.');
define('L_NO_HOST_INFORMATION', 'Cannot get information not about one of hosts');

define('L_INVALID_COMPARSION_OP', 'Invalid search comparsion operator ignored: %s');
define('L_INVALID_COMPARSION_ARG', 'Invalid search comparsion argument ignored: %s');
define('L_EMPTY_HOST_DEF', 'Ignored empty host definition string.');
define('L_SEARCH_STR_TRUNCATED', 'Search query string is too long. Only first 255 symbols have been analysed.');
define('L_SIGNS_TOGETHER', 'Signs + and - must be placed together with a term.');
define('L_NO_CLOSING_QUOT', 'Missed closing &qout;.');
define('L_PARAM_MISSING', 'Missing argument after a comparsion operator.');

define('L_INVALID_HOST_SPEC', 'There is must be no spaces between symbol @ and specification of hosts.');
define('L_INVALID_SEARCH_PARAM', 'There is must be no spaces between symbol : and search paramter.');
define('L_UNKNOWN_SEARCH_PARAM', 'Unknown search parameter ignored: &quot;%s&quor;');
define('L_INVALID_QUERY_ID', 'There is a inconsistency between query string and current contents of query field.');
define('L_QUERY_OUT_OF_DATE', 'Search query is out of date');
define('L_HOST_FILTER_IGNORED', 'Host filter ignored due missing of appropriate hosts.');
define('L_RESULT_LIMIT_REACHED', 'Number of results is higher than %d. Try to rebuild your query to get more appropriate results');
define('L_PAGE_NUM_MORE_THAN_LAST', 'Page number cannot be greater than total number of pages! Showing last page.');
define('L_PAGE_NUM_CANNOT_BE_NEAGETIVE', 'Page number cannot be negative! Showing first page.');

define('L_YOUR_QUERY', 'Your search: %s');
define('L_TOTAL_FOUND', 'Total found ');
define('L_NOTHING_FOUND', 'Nothing was found according to your query');

// Links
define('L_TITLE_LINKS', 'Links');

// Submit
define('L_SUBMIT_TITLE', 'Add host to list');
define('L_HOST_TYPE_FTP', 'Ftp server');
define('L_HOST_TYPE_SHARE', 'Windows shares');
define('L_SUBMIT_ADDR', 'Address');
define('L_SUBMIT_OWNER', 'Owner');
define('L_SUBMIT_TYPE', 'Server type');
define('L_SUBMIT_SUBMIT', 'Add');
define('L_SUBMIT_DESC', 'On this page, you can try to add your file resource to the index of search engine.');
define('L_SUBMIT_DESC2', 'Full listing of file resource will appear after next cycle of indexing.');
define('L_SUBMIT_NO_ADDR', 'No address given!');
define('L_SUBMIT_ALREADY_EXISTS', 'This address is already exists!');
define('L_SUBMIT_NO_OWNER', 'No owner given!');

// Host errors
define('L_HOST_ERROR_0', 'Success');
define('L_HOST_ERROR_1', 'Unable to resolve address by name');
define('L_HOST_ERROR_2', 'Unknown server type');
define('L_HOST_ERROR_3', 'Unable to connect');
define('L_HOST_ERROR_4', 'FSA listing is absent');
define('L_HOST_ERROR_5', 'FSA listing is out of date');
define('L_HOST_ERROR_6', 'Listing of server that not belong to current group is out of date');
define('L_HOST_ERROR_104', 'Unable to authenticate');
define('L_HOST_ERROR_105', 'Unable to get current directory');
define('L_HOST_ERROR_106', 'Unable to get system type');
define('L_HOST_ERROR_107', 'Unable to get directory contents');
define('L_HOST_ERROR_108', 'Unable to get server contents');
define('L_HOST_ERROR_109', 'List of shared resources is empty');
define('L_HOST_ERROR_110', 'Error parsing listing: unable to divide by directories');
define('L_HOST_ERROR_111', 'Error loading root directory');
define('L_HOST_ERROR_112', 'Error parsing root directory');
define('L_HOST_ERROR_113', 'Session aborted');
define('L_HOST_ERROR_UNKNOWN', 'Unknown error (%1$d)');

// Conjugation
define('L_CNJG_QUERY', 'query|queries');
define('L_CNJG_HOST', 'host|hosts');
define('L_CNJG_FILE', 'file|files');
define('L_CNJG_DIR', 'directory|directories');

// Contact
define('L_CONTACT', 'Contact information');

?>
